class People(object):
    def drink(self):
        print("人在喝东西")


yao = People()
print(id(yao))
yao.drink()





class Dog(object):
    def eat(self):
        print("狗在吃")

xiaobai = Dog()
xiaobai.eat()




